﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo
{
    [NHibernateEntity(Table = "AccountContacts")]
    public class AccountContact
    {
        public AccountContact() { }

        [PrimaryKey]
        public virtual int Id { get; set; }

        [BelongsTo(Column = "ID_Account")]
        public virtual Account Account { get; set; }

        [BelongsTo(Column = "ID_Contact")]
        public virtual Contact Contact { get; set; }

        [Property]
        public virtual string Description { get; set; }
    }
}
